package com.zm.devmag.device.service;


import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.zm.devmag.device.Vo.DeviceDetaiVo;
import com.zm.devmag.device.po.DeviceDetail;


public interface DeviceDetailServer {
	//根据id删除用户
    int deleteOneById(Long id);

    int insertDeviceDetailBatch(List<DeviceDetail> inlist);
    //通过id查看用户
    DeviceDetaiVo selectById(Long id);
    DeviceDetail selectByIdRturnDD(Long id);
    List<DeviceDetaiVo>selectAll(Map<String,Object> cond);
    int insertOneDevice(DeviceDetail dd);
    int updateByPrimaryKeySelective(DeviceDetail dd);
    
    List<String> selectAllDeviceNo();
    int selectDDConutByDcid(Long dcid);
    List<DeviceDetaiVo> selectDeviceByLikeNO(Map<String, Object> cond);
    DeviceDetaiVo selectDeviceByNo(String para);
    int checkIsHasByNO(String para);
    Long getMaxIdValue();
    void LoadExcelServer(HttpServletRequest request,HttpServletResponse response);
    int selectAllCount(Map<String, Object> cond);
    List<DeviceDetaiVo> selectAllNoLimit(Map<String,Object>cond);

}
